package com.tz.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2016/10/9.
 */
@Component
public class ClassA {
    @Autowired
    private ClassB b;
    public void a(){
        System.out.println("a()逻辑正在运行");
        b.b();
    }
}
